package com.shioirikukuri.service;

import com.shioirikukuri.entity.ReservationOrder;

import java.util.List;

public interface IReservationOrderService {

	/**
	 * Get all reservation orders
	 *
	 * @return
	 */
	List<ReservationOrder> getAllReservationOrders();
	ReservationOrder getReservationOrderById(Integer orderId);
	List<ReservationOrder> getReservationOrdersByType(String reservationType);
	Integer  createReservationOrder(ReservationOrder reservationOrder);
	void updateReservationOrder(ReservationOrder reservationOrder);
	void deleteReservationOrderById(Integer orderId);

	/**
	 * 根据订单ID查询服务价格
	 * @param orderId
	 * @return
	 */
	Double getServicePriceByOrderId(Integer orderId);

}